package cn.xinfei.xdecision.common.model.datax.enums;

import lombok.Getter;

@Getter
public enum VarCatTypeEnum implements ICodeEnum{
    GROOVY_EXECUTOR_EXECUTE("data-executor","groovyExecutor"),
    VIRTUAL_EXECUTOR_EXECUTE("data-executor","vitualExecutor"),
    STANDARD_EXECUTOR_EXECUTE("data-executor","standardExecutor"),
    PRE_COLLECT("data-collect","preCollect"),
    REAL_COLLECT("data-collect","realCollect"),
    CREDIT_COLLECT("data-collect","creditCollect"),
    CREDIT_FETCH("data-fetch","creditFetch"),
    CREDIT_QUERY("credit-query-task","run")

    ;

    private final String code;
    private String name;

    VarCatTypeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
